package movee.domain.api;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;


/**
 *
 *
 * @author movee
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TimeResponseData<T> extends ResponseData<T> {

    @JsonProperty(index = 1)
    private String time;

    public TimeResponseData(String time, T data) {
        super(data);
        this.time = time;
    }

    public String getTime() {
        return time;
    }

}
